﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;
using System.Data.Linq;
using System.ComponentModel;

namespace MRSite.Entity
{
    /// <summary>
    /// 大转盘活动表
    /// </summary>
    [Table(Name = "dzpActionInfo")]
    public partial class dzpActionInfo : Entity
    {


        /// <summary>
        /// 编号
        /// </summary>
        [Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
        public override int id { get; set; }

        /// <summary>
        /// 微帐号主键Id
        /// </summary>
        [Column(Name = "wid")]
        public int? wid { get; set; }

        /// <summary>
        /// 活动名称
        /// </summary>
        [Column(Name = "actName")]
        public string actName { get; set; }

        /// <summary>
        /// 关键词
        /// </summary>
        [Column(Name = "kw")]
        public string kw { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        [Column(Name = "beginDate")]
        public DateTime? beginDate { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        [Column(Name = "endDate")]
        public DateTime? endDate { get; set; }

        /// <summary>
        /// 简介
        /// </summary>
        [Column(Name = "brief")]
        public string brief { get; set; }

        /// <summary>
        /// 联系信息
        /// </summary>
        [Column(Name = "contractInfo")]
        public string contractInfo { get; set; }

        /// <summary>
        /// 活动说明
        /// </summary>
        [Column(Name = "actContent")]
        public string actContent { get; set; }

        /// <summary>
        /// 重复抽奖回复
        /// </summary>
        [Column(Name = "cfcjhf")]
        public string cfcjhf { get; set; }

        /// <summary>
        /// 活动结束公告
        /// </summary>
        [Column(Name = "endNotice")]
        public string endNotice { get; set; }

        /// <summary>
        /// 活动结束说明
        /// </summary>
        [Column(Name = "endContent")]
        public string endContent { get; set; }

        /// <summary>
        /// 预计抽奖人数
        /// </summary>
        [Column(Name = "personNum")]
        public int personNum { get; set; }

        /// <summary>
        /// 每人最多允许抽奖总次数
        /// </summary>
        [Column(Name = "personMaxTimes")]
        public int personMaxTimes { get; set; }

        /// <summary>
        /// 每天最多抽奖次数
        /// </summary>
        [Column(Name = "dayMaxTimes")]
        public int dayMaxTimes { get; set; }

        /// <summary>
        /// 幸运奖内容（若不填写，则不开启幸运奖）
        /// </summary>
        [Column(Name = "openXyj")]
        public string openXyj { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Column(Name = "createDate")]
        public DateTime createDate { get; set; }

        /// <summary>
        /// 活动开始的图片
        /// </summary>
        [Column(Name = "beginPic")]
        public string beginPic { get; set; }

        /// <summary>
        /// 活动结束的图片
        /// </summary>
        [Column(Name = "endPic")]
        public string endPic { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [Column(Name = "aStatus")]
        public int aStatus { get; set; }

        /// <summary>
        /// 兑奖密码
        /// </summary>
        [Column(Name = "djPwd")]
        public string djPwd { get; set; }

        /// <summary>
        /// 扣除积分
        /// </summary>
        [Column(Name = "golds")]
        public decimal golds { get; set; }



    }
}

